package test1;

public class SFproxyBook implements  ISendBook{
    private  ISendBook who;

    public SFproxyBook(ISendBook who) {
        this.who=who;
    }

    @Override
    public void sendbook() {

        System.out.println("顺丰快递收件-------------快递代码");
        who.sendbook();
        System.out.println("顺丰快递已送达-----------快递代码");
    }
}
